package cn.edu.sdjzu.xg.eagle.entity;

import lombok.*;

/**
 * @author tg.si@188.com
 * @project xg22
 * @date 2024/3/26
 */

@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@ToString
public class School implements Comparable<School> {
    private Long id;//对应着数据库表中的非业务主键 object id
    private String no;
    private String description;
    private String remarks;

    @Override
    public int compareTo(School o) {
        return this.no.compareTo(o.no);
    }
}
